package com.xy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import javax.validation.constraints.NotBlank;

/**
 * @BelongsPackage: com.xy.entity
 * @Author: WK
 * @CreateTime: 2023-07-19
 * @Description:
 * @Version: 1.0
 */
@Data
@TableName("crm_certificate_type")
@ApiModel(value = "CertificateTypeEntity对象", description = "主办方证件类型表")
@EqualsAndHashCode(callSuper = true)
public class CertificateTypeEntity extends TenantEntity {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "系统字典code")
	@NotBlank(message = "系统字典code不能为空")
	private String bizCode;


	@ApiModelProperty(value = "系统字典证件类型的dict_key")
	@NotBlank(message = "系统字典证件类型的dict_key不能为空")
	private String bizDictKey;
	@NotBlank(message = "系统字典证件类型的dict_value不能为空")
	@ApiModelProperty(value = "系统字典证件类型的dict_value")
	private String bizDictValue;

	@ApiModelProperty(value = "证件类值")
	@NotBlank(message = "证件类值不能为空")
	private String typeKey;

	@ApiModelProperty(value = "证件类名称")
	@NotBlank(message = "证件类名称")

	private String typeName;


	@ApiModelProperty(value = "排序")
	private Integer sort;
	@ApiModelProperty(value = "描述")
	private  String remark;

	@ApiModelProperty(value = "证件段号")
	private String  typeSeg;
	@ApiModelProperty(value = "卡号")
	private String  cardNumber;
	@ApiModelProperty(value = "流水号")
	private String  serialNumber;
	@ApiModelProperty(value = "流水前缀")
	private String  serialPrefix;
}
